﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace TUlingWpf.Heplers
{
    public class SqlSugarHelper
    {
        public static SqlSugarScope Db = new SqlSugarScope(new ConnectionConfig()
        {
            ConnectionString = "server=localhost;Database=Tuling;Uid=root;Pwd=root123;Pooling=false",
            DbType = DbType.MySql,
            IsAutoCloseConnection = true //自动释放
        });
    }
}